﻿using System;
using System.Data;
using System.Configuration;
using System.Collections.Generic;
using com.pro2e.console.service.msg.vo;


/// <summary>
/// MsgService 的摘要描述
/// </summary>
/// 

namespace com.pro2e.console.service.msg
{
    public class MsgService
    {

        /*
        public static MsgService Instance = new MsgService();

        private static Dictionary<MyItemVO.ItemTypeName, IList<ItemType>> mydic = new Dictionary<MyItemVO.ItemTypeName, IList<Dictionary<string, string>>>(); 

        private  MsgService()
        {
            initData();
        }


        private void initData()
        {
            //加入商品狀態資料            
            AddItem(new MyItemVO(MyItemVO.ItemTypeName.商品狀態, "1", "供貨正常"));
            AddItem(new MyItemVO(MyItemVO.ItemTypeName.商品狀態, "36", "售缺"));
            AddItem(new MyItemVO(MyItemVO.ItemTypeName.商品狀態, "19", "暫時缺貨"));
            AddItem(new MyItemVO(MyItemVO.ItemTypeName.商品狀態, "32", "停產"));
            AddItem(new MyItemVO(MyItemVO.ItemTypeName.商品狀態, "21", "尚未上市"));
        }


        public string GetItemValue(MyItemVO.ItemTypeName typeName, string key) 
        {
                    
        }



        private void AddItem(MyItemVO myItem) 
        {
            if (mydic.ContainsKey(myItem.ItemType))
            {
               
            }
            else 
            {
            
            }
        }
        */
        

    }
}
